<?php
// +----------------------------------------------------------------------
// | OneKeyAdmin [ Believe that you can do better ]
// +----------------------------------------------------------------------
// | Copyright (c) 2020-2023 http://onekeyadmin.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: MUKE <513038996@qq.com>
// +----------------------------------------------------------------------
namespace plugins\form\admin\validate;

use think\Validate;

class Set extends Validate
{
    protected $rule =   [
        'name'         => 'require',
    ];
    protected $message  =   [
        'name.require' => '请输入标题',
    ];
    protected $scene = [
        'save'          => ['name'],
        'update'        => ['name'],
    ];
}